package model.company;

/**
 * Companyexternalguarantee entity. @author MyEclipse Persistence Tools
 */

public class Companyexternalguarantee implements java.io.Serializable {

	// Fields

	private Integer id;
	private String guarantorname;
	private String bankname;
	private Integer currency;
	private Double amount;
	private Double guaranteeamount;
	private Integer cid;

	// Constructors

	/** default constructor */
	public Companyexternalguarantee() {
	}

	/** minimal constructor */
	public Companyexternalguarantee(String guarantorname) {
		this.guarantorname = guarantorname;
	}

	/** full constructor */
	public Companyexternalguarantee(String guarantorname, String bankname,
			Integer currency, Double amount, Double guaranteeamount, Integer cid) {
		this.guarantorname = guarantorname;
		this.bankname = bankname;
		this.currency = currency;
		this.amount = amount;
		this.guaranteeamount = guaranteeamount;
		this.cid = cid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGuarantorname() {
		return this.guarantorname;
	}

	public void setGuarantorname(String guarantorname) {
		this.guarantorname = guarantorname;
	}

	public String getBankname() {
		return this.bankname;
	}

	public void setBankname(String bankname) {
		this.bankname = bankname;
	}

	public Integer getCurrency() {
		return this.currency;
	}

	public void setCurrency(Integer currency) {
		this.currency = currency;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getGuaranteeamount() {
		return this.guaranteeamount;
	}

	public void setGuaranteeamount(Double guaranteeamount) {
		this.guaranteeamount = guaranteeamount;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

}